package com.yixin.hospital.entity.dto.req.patientaddress;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("编辑患者地址请求体")
public class PatientAddressEditReqDTO {

    @ApiModelProperty(value = "id", example = "1")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "地址", example = "吉林省")
    @NotBlank(message = "地址不能为空")
    private String address;

    @ApiModelProperty(value = "门店", example = "劳动公园店")
    private String retailStore;

    @ApiModelProperty(value = "距离门店多少公交站", example = "3")
    private Integer distance;

    @ApiModelProperty(value = "多地址说明", example = "临时居住")
    private Integer multiAddressDes;

    @ApiModelProperty(value = "联系人姓名", example = "啊啊啊")
    private String contactName;

    @ApiModelProperty(value = "联系人电话", example = "15981174742")
    private String contactPhone;
}
